#pragma once

#include <QtWidgets/QMainWindow>
#include <QDialog>
#include <QCheckBox>
#include <QComboBox>
#include <QGroupBox>
#include <QListWidget>
#include <QStackedWidget>
#include <QPushButton>

#include "TitanCsiCameraInfo.h"
#include "LidarInfo.h"
#include "GpsPage.h"
#include "ConfigPage.h"

class titan3_data_collection : public QDialog
{
	Q_OBJECT

public:
	titan3_data_collection(QWidget *parent = Q_NULLPTR);
	~titan3_data_collection() {};

	void initUI();
	void createIcons();
	void changePage(QListWidgetItem *current, QListWidgetItem *previous);
private:
	
	QListWidget* contentsWidget;
	QStackedWidget *pagesWidget;
	QHBoxLayout *mainLayout;

	TitanCsiCameraInfo *cameraPage_;
	LidarInfo *lidarPage_;
	GpsPage *gpsPage_;
	ConfigPage* configPage_;

	QListWidgetItem *cameraButton;
	QListWidgetItem *lidarButton;
	QListWidgetItem *gpsButton;
	QListWidgetItem *configButton;
};
